Browse Today's favorites or All time favorites.
Please Sign In or Register to share and submit your questions.
Java Queries
Complete java interview questions library
Home » Interview Questions » Core Java Interview Questions » How to define an Abstract class?
How to define an Abstract class?
A class containing abstract method is called Abstract class. An Abstract class can't be instantiated.
abstract class testAbstractClass {
protected String myString;
public String getMyString() {
return myString;
}
public abstract string anyAbstractFunction();
}
Things your CV should not have
Your CV is your marketing brochure through which you try to sell a commodity, ie your skills to the potential buyer ie the prospective employer. The sole purpose of your CV is to fetch you an interview call. Nothing more, nothing less.
Write a comment