Forwarded from Advanced JAVA
Copy_of_Object_Oriented_Analysis_Design_Track_Practice_GeeksforGeeks.ts
33.6 MB
Forwarded from Advanced JAVA
Copy_of_Object_Oriented_Analysis_Design_Track_Practice_GeeksforGeeks.ts
21.4 MB
Forwarded from Advanced JAVA
Copy_of_Object_Oriented_Analysis_Design_Track_Practice_GeeksforGeeks.ts
29 MB
Forwarded from Advanced JAVA
Copy_of_Object_Oriented_Analysis_Design_Track_Practice_GeeksforGeeks.ts
23.9 MB
Forwarded from Advanced JAVA
Copy_of_Object_Oriented_Analysis_Design_Track_Practice_GeeksforGeeks.ts
19.3 MB
Forwarded from Advanced JAVA
Copy_of_Object_Oriented_Analysis_Design_Track_Practice_GeeksforGeeks.ts
19.6 MB
Forwarded from Advanced JAVA
Copy_of_Object_Oriented_Analysis_Design_Track_Practice_GeeksforGeeks.ts
12.2 MB
Forwarded from Advanced JAVA
Copy_of_Object_Oriented_Analysis_Design_Track_Practice_GeeksforGeeks.ts
21.9 MB
Forwarded from Advanced JAVA
Copy_of_Object_Oriented_Analysis_Design_Track_Practice_GeeksforGeeks.ts
8.4 MB
Forwarded from Advanced JAVA
Copy_of_Object_Oriented_Analysis_Design_Track_Practice_GeeksforGeeks.ts
6.3 MB
Forwarded from Advanced JAVA
Copy_of_Object_Oriented_Analysis_Design_Track_Practice_GeeksforGeeks.ts
18.6 MB
Forwarded from Advanced JAVA
Copy_of_Object_Oriented_Analysis_Design_Track_Practice_GeeksforGeeks.ts
13.9 MB
Top libraries every Java Developer should know about | TechGig
https://content.techgig.com/top-libraries-every-java-developer-should-know-about/articleshow/78236934.cms
https://content.techgig.com/top-libraries-every-java-developer-should-know-about/articleshow/78236934.cms
TechGig
Top libraries every Java Developer should know about
One of the key features of Java is that it has a feature-rich vast core library. The standard Java library is powerful but in certain cases, you will need
1) The default value of a static integer variable of a class in Java is,
(a) 0 (b) 1 (c) Garbage value (d) Null (e) -1.
(a) 0 (b) 1 (c) Garbage value (d) Null (e) -1.
2) What will be printed as the output of the following program?
public class testincr
{
public static void main(String args[])
{
int i = 0;
i = i++ + i;
System.out.println(“I = ” +i);
}
}
(a) I = 0 (b) I = 1 (c) I = 2 (d) I = 3 (e) Compile-time Error.
public class testincr
{
public static void main(String args[])
{
int i = 0;
i = i++ + i;
System.out.println(“I = ” +i);
}
}
(a) I = 0 (b) I = 1 (c) I = 2 (d) I = 3 (e) Compile-time Error.
3) Multiple inheritance means,
(a) one class inheriting from more super classes
(b) more classes inheriting from one super class
(c) more classes inheriting from more super classes
(d) None of the above
(e) (a) and (b) above.
(a) one class inheriting from more super classes
(b) more classes inheriting from one super class
(c) more classes inheriting from more super classes
(d) None of the above
(e) (a) and (b) above.
4) Which statement is not true in java language?
(a) A public member of a class can be accessed in all the packages.
(b) A private member of a class cannot be accessed by the methods of the same class.
(c) A private member of a class cannot be accessed from its derived class.
(d) A protected member of a class can be accessed from its derived class.
(e) None of the above.
(a) A public member of a class can be accessed in all the packages.
(b) A private member of a class cannot be accessed by the methods of the same class.
(c) A private member of a class cannot be accessed from its derived class.
(d) A protected member of a class can be accessed from its derived class.
(e) None of the above.
5) To prevent any method from overriding, we declare the method as,
(a) static (b) const (c) final (d) abstract (e) none of the above.
(a) static (b) const (c) final (d) abstract (e) none of the above.