-
-
-
}
}
">Hi, all where we will use this scenario like an abstract class with out abstract methods may i know what is the use of this class?when ur not creating the object and not implementing any of the methodpublic abstract class DemoAbstract { public static void main(String args[]) { System.out.println("inside main"); } }
-
-
-
-
-
-
-
-
-
-
-
-
-
How to create a singly linked list without using in-built functions?
Write a program in Java that reads a text file, "in.txt", that contains a list of integers separated by spaces. After reading the integers, the program stores them into a singly linked list and prints out the smallest integer in the list using the following recursive algorithm:1. Divide the list into two halves(if the list contains odd number of elements the halves will be of approximately the same...
-
What order will the JVM search for classes?
a. lib.jar b. the standard Java class libraries c. the 'current directory' d. c:libsant.jar e. c:libsjavacore.jar Referring to the list above, given the classpath "c:libsant.jar;c:libsjavacore.jar;.", in what order will the JVM search for classes?
-
-
-
Java Interview Questions
Ans