Learn Java Training from the Best Tutors
Search in
In Core Java, there are two categories of modifiers: Access Modifiers and Non-Access Modifiers.
Access Modifiers (4)
1. *public*: Accessible from anywhere.
2. *private*: Accessible only within the same class.
3. *protected*: Accessible within the same class and subclasses.
4. *default* (no modifier): Accessible within the same package.
Non-Access Modifiers (6)
1. *static*: Belongs to the class, rather than an instance.
2. *final*: Cannot be modified or overridden.
3. *abstract*: Declares a method or class that must be implemented or extended.
4. *synchronized*: Used for thread synchronization.
5. *volatile*: Indicates that a variable may change asynchronously.
6. *transient*: Excludes a variable from serialization.
In total, there are 10 modifiers defined in Core Java: 4 Access Modifiers and 6 Non-Access Modifiers.
read lessView 1 more Answers
Related Questions
I want to learn from beginning, please tell me what is the best source to learn (core java)
Now ask question in any of the 1000+ Categories, and get Answers from Tutors and Trainers on UrbanPro.com
Ask a QuestionRecommended Articles
Java: An Object-Oriented Language
Java is the most commonly used popular programming language for the creation of web applications and platform today. Integrated Cloud Applications and Platform Services Oracle says, “Java developers worldwide has over 9 million and runs approximately 3 billion mobile phones”. Right from its first implication as java 1.0...
Top 5 Reasons to Learn JavaScript
Before we start on the importance of learning JavaScript, let’s start with a short introduction on the topic. JavaScript is the most popular programming language in the world, precisely it is the language - for Computers, the Web, Servers, Smart Phone, Laptops, Mobiles, Tablets and more. And if you are a beginner or planning...
Some Popular IT Courses in Current Market
In the domain of Information Technology, there is always a lot to learn and implement. However, some technologies have a relatively higher demand than the rest of the others. So here are some popular IT courses for the present and upcoming future: Cloud Computing Cloud Computing is a computing technique which is used...
Why Java is the Most Popular Programming Language
Designed in a flexible and user-friendly demeanor, Java is the most commonly used programming language for the creation of web applications and platform. It allows developers to “write once, run anywhere” (WORA). It is general-purpose, a high-level programming language developed by Sun Microsystem. Initially known as an...
Looking for Java Training Classes?
Learn from the Best Tutors on UrbanPro
Are you a Tutor or Training Institute?
Join UrbanPro Today to find students near youThe best tutors for Java Training Classes are on UrbanPro
The best Tutors for Java Training Classes are on UrbanPro