Thursday, 16 February 2017

bca4020 smu bca winter 2016 (april/may 2017 exam) IVth sem assignment

Get fully solved assignment. Buy online from website
online store
or
plz drop a mail with your sub code
we will revert you within 2-3 hour or immediate
Charges rs 125/subject

winter 2016
Bca4020

1 Explain any five features of Java.

Answer: Features of Java
Java defines data as objects with methods that support the objects. Java is purely object-oriented and provides

2 Describe main () method in Java. What are the rules for writing a main () method?

Answer: In a Java application, you may have many classes. Within those classes, you may have many methods. The method that you need to execute first should be the main() method.

Syntax for the main()


3 Differentiate between packages and Interfaces.

Answer: To create a package is quite easy: simply include a package command as the first statement in a Java source file. Any classes declared within that file will belong to the specified package. The package statement defines a name space in which classes are stored. If you omit the package statement, the class names are put into the default package, which has no name. (This is why


4 How we can search the first and last occurrence of a substring?

Answer: The String class provides two methods that allow you to search a string for a specified character or substring:
• indexOf( ) Searches for the first occurrence of a character or substring.
• lastIndexOf( ) Searches



5 Compare JDBC and ODBC.

Answer: JAVA Data Base Connectivity (JDBC)
The JDBC API (Java Data Base Connectivity Application Program Interface) can access any kind of tabular data, especially data



6 Describe about:
a) Swing
b) JFC

Answer: a) Swing is the next-generation GUI toolkit that Sun Microsystems created to enable enterprise development in Java. By enterprise development, we mean that programmers can use Swing to create large-

Get fully solved assignment. Buy online from website
online store
or
plz drop a mail with your sub code
we will revert you within 2-3 hour or immediate
Charges rs 125/subject



No comments:

Post a Comment