Can we declare a class as abstract without having any abstract method?
No Answer is Posted For this Question
Be the First to Post Answer
How do you override a variable in java?
What is serialization in java?
is JVM platform dependent or independent..?
11 Answers IBM, Tech Mahindra,
How can final class be used?
Why packages are used?
Have you worked on bits programming? examples?What is bit? How many bits are there in the byte?
what is difference between Interface and abstract class
What is string in java is it a data type?
What is functional interface in java example?
What are exceptions
33. try { 34. // some code here 35. } catch (NullPointerException e1) { 36. System.out.print(”a”); 37. } catch (RuntimeException e2) { 38. System.out.print(”b”); 39. } finally { 40. System.out.print(”c”); 41. } What is the result if a NullPointerException occurs on line 34? 1 c 2 a 3 ab 4 ac
Can a class with private constructor be extended?