Tuesday, 2 June 2020

List of Universities in CHHATTISGARH

AAFT University of Media and Arts, Vill- Maath, Tehsil-Tilda, DistRaipur, Chhattisgarh (Private University) 17.04.2018

Amity University, Village-Manth, Tehsil-Tilda, Distt-Raipur, Chhattisgarh. (Private University) 21.08.2014

Ayush and Health Sciences University of Chhattisgarh, G.E. Road, Raipur-492 001, Chhattisgarh. (State University) 2008

Bastar Vishwavidyalaya, Jagdalpur (Dharampura), Distt. – Bastar494005, Chhattisgarh. (State University) 2008

Atal Bihari Vajpai Vishwavidyalaya (Formerly Bilaspur Vishwavidyalaya), Old High Court Building, Gandhi Chowk, Bilaspur – 495 001, Chhattisgarh. (State University) Name changed w.e.f. 12.09.2018, 2011

Chhattisgarh Kamdhenu Vishwavidyalaya, Raipur College of Dairy Technology Campus, G.E. Road, Raipur, Chhattisgarh. (State University) 2011

Chhattisgarh Swami Vivekanand Technical University, North Park Avenue, Sector-8, Bhilai, Dt. Durg-490009, Chhattisgarh. (State University). 2004

Dr. C.V. Raman University, Kargi Road, Kota, Bilaspur-495113, Chhattisgarh. (Private University) 03.11.2006

Durg Vishwavidyalaya, Government Vasudev Vaman Patankar Girls’ PG College Campus, Raipur Naka, Durg, Chhattisgarh. (State University) 2015

Guru Ghasidas Vishwavidyalaya, Koni, Bilaspur- 495 009, Chhattisgarh. (Converted State University to Central University) (Central University) 1983 (Central University w.e.f. 2009)

Hidayatullah National Law University, Uparwara Post, Abhanpur, Raipur- 493661, Chhattisgarh. (State University) 2003

ICFAI University, NH-6, Raipur-Bhilai Road (Km Stone 20), GramChorha, PO Kumhari, District Durg, Chhatttisgarh-490032. (Private University) 24.03.2011

International Institute of Information Technology, Plot No. 7, Sector 24, Near Purkhoti, Muktangan, Naya Raipur-493661, Chhattisgarh. (State University) 28.01.2014

ISBM University, Village – Nawapara (Kosmi) Block, tehsil – Chhura, Dist – Gariyaband – 493996, Chhattisgarh. (Private University) 09.09.2016

Indira Gandhi Krishi Vishwavidyalaya, Krishak Nagar, Raipur- 492 012, Chhattisgarh. (State University) 1987

Indira Kala Sangeet Vishwavidyalaya, Khairagarh, Dt. Rajnandgaon491 881, Chhattisgarh. (State University) 1956

ITM University, PH No. 137, Uparwara, Naya Raipur, Dt. Raipur – 493661, Chhattisgarh. (Private University) 03.02.2012

K.K.Modi University, Khasra No. 72, 73, 75, 217 & 220 Village Mahmara, Jalbandha (Rasmada) Road, District Durg, Chattisgarh (Private University) 08.08.2018

Kushabhau Thakre Patrakarita Avam Jansanchar Vishwavidyalaya, Kathadih, Post Office Sunder Nagar, Raipur – 492 013, Chhattisgarh. 2004 (State University).

Kalinga University, Raipur- 492101,Chhattisgarh. (Private University) 24.03.2011

Maharishi University of Management and Technology, Post: Mangla, Bilaspur – 495 001, Chhattisgarh (Private University). 18.04.2002

MATS University, Arang Kharora Highway, Gram Panchayat: Gullu, Village: Gullu, Tehsil : Arang, District: Raipur-493441, Chhattisgarh (Private University) 03.11.2006

O.P. Jindal University, Knowledge Park, Gharghoda Road, Punjipathra, Raigarh-496001, Chhattisgarh (Private University) 21.08.2014

 Pt. Ravishankar Shukla University, Raipur-492 010, Chhattisgarh. (State University) 1964

Pt. Sundarlal Sharma (Open) University, Village & PO Birkona, KoniBirkona Road, Distt. Bilaspur-495009, Chhatisgarh. (State University) 2004

Sant Gahira Guru Vishwavidyalaya (formerly Sarguja University), Darripara, Ambikapur, Sarguja-497001, Chhattisgarh (State University) 2008

Shri Rawatpura Sarkar University, Raipur, Chhattisgarh.


Monday, 1 June 2020

List of Universities in Assam

Assam Agricultural University, Jorhat- 785 013, Assam. (State University) 1968

Assam Don Bosco University, Azara, Guwahati-781017, Assam. (Private University) 12.02.2009

Assam Down Town University, Sankar Madhab Path, Gandhi Nagar, Panikhaiti, Guwahati – 781 036. (Private University) 29.04.2010

Assam University, PO Assam University, Silchar -788 011, Assam. (Central University) 1994

Assam Rajiv Gandhi University of Co-operative Management, 2nd Floor, Baruah Complex, Above SBI, Sivasagar-785040, Assam. (State University) 2010

Assam Science & Technology University, Kahilipara, Guwahati – 19, Assam. (State University) 2011

Assam Women’s University, Jorhat-785004, Assam. (State University) 2013

Bodoland University, Debragaon, PO Rangalikhata, kokrajhar – 783 370, BTC, Assam. (State University) 2009

Bhattadev University, Bajali, Pathsala- 781325, Barpeta, Assam (State University) 25.10.2017

Cotton College State University, Panbazar, Guwahati, Assam. (State University) 2011

Central Institute of Technology(CIT), Dist: Kokrajhar, Balagaon, BTAD, Assam (Deemed University) 13.12.2018

Dibrugarh University, Dibrugarh-786 004, Assam. (State University) 1965

Gauhati University, Gopinath Bardoloi Nagar, Guwahati- 781 014, Assam. (State University) 1948

Krishna Kanta Handique State Open University, Housefed Complex, Last Gate, Dispur, Guwahati – 781 006, Assam. (State University) 2007

Kumar Bhaskar Varma Sanskrit & Ancient Studies University, Village – Namati, PO – Hati Namati, Dist. - Nalbari – 781 337, Assam. (State University) 2011

Krishnaguru Adhyatmik Visvavidyalaya, Nasatra, Barpeta, Assam781307 (Private University) 11.04.2017

Madhabdev University, P.O-Dikrong-784164, Narayanpur, Lakhimpur, Assam (State University) 01.06.2018

Mahapurusha Srimanta Sankaradeva Viswavidyalaya, Srimanta Sankaradeva Sangha Complex, Haladhar Bhuyan Path, Kalongpar, Nagaon-782001, Assam. (Private University) 14.08.2013

National Law University and Judicial Academy, NEJOTI Building, B.K. Kakati Road, Bholanath Mandir Path, Ulubari, Guwahati – 781 007, Assam. (State University) 2012

Rabindranath Tagore University, Hojai- 782435, Assam (State University) 25.10.2017

Srimanta Sankaradeva University of Health Sciences, Narakasur Hilltop, Bhangagarh, Guwahati, Assam. (State University) 2007

Tezpur University, Napaam, Sonitpur, Assam- 784 028 (Central University) 1994

The Assam Kaziranga University, Jorhat, Assam. (Private University) 11.04.2012

The Assam Royal Global University, Betkuchi, Opp. Tirupati Balaji Temple, NH-37, Guwahati – 781035, Assam. (Private University). 23.08.2013

 


Sunday, 31 May 2020

List of Universities in ANDHRA PRADESH

S.No, University, Date/Year of Notification/ Establishment

1. Acharya Nagarjuna University, Nagarjuna Nagar-522510, Dt. Guntur, Andhra Pradesh. (State University) 1976

2. Adikavi Nannaya University, 25-7-9/1, Jayakrishnapuram, Rajahmundry – 533 105, East Godavari District, Andhra Pradesh. (State University) 2006

3. Andhra University, Waltair, Visakhapatnam-530 003, Andhra Pradesh. (State University) 1926

4. Bharatiya Engineering Science and Technology Innovation University, Gownivaripalli, Gorantla Mandal, Anantapur, Andhra Pradesh (Private University) 17.02.2019

5. Central University of Andhra Pradesh, IT Incubation Centre Building, JNTU Campus, hinmaynagar, Anantapuramu, Andhra Pradesh515002 05.08.2019

6. Centurion University of Technology and Management, Gidijala Junction, Anandapuram Mandal, Visakhapatnam – 531173, Andhra Pradesh. (Private University) 23.05.2017

7. Damodaram Sanjivayya National Law University, Plot No. 116, Sector 11 MVP Colony, Visakhapatnam – 530 017, Andhra Pradesh. (State University) 2008

8. Dr. Abdul Haq Urdu University, Kurnool- 518001, Andhra Pradesh (State University) 14.12.2018

9. Dr. B.R. Ambedkar University, Etcherla, Dt. Srikakulam-532410, Andhra Pradesh. (State University) 2008

10. Dravidian University, Srinivasanam, -517 425, Chittoor District, Andhra Pradesh. (State University) 1997

11. Dr. Y.S.R. Horticultural University, PO Box No. 7, Venkataramannagudem, West Godavari District – 536 101, Andhra Pradesh. (State University) 2011

12. Dr. N.T.R. University of Health Sciences (Formerly Andhra Pradesh University of Health Sciences), Vijayawada-520 008, Andhra Pradesh. (State University) 1986

13. Gandhi Institute of Technology and Management (GITAM), Gandhi Nagar Campus, Rushikonda, Visakhapatman – 530 045, Andhra Pradesh. (Deemed University) 13.08.2007

14. Jawaharlal Nehru Technological University, Anantpur-515 002, Andhra Pradesh(State University) 2008

15. Jawaharlal Nehru Technological University, Pithapuram Road, Kakinada-533003, East Godvari District, Andhra Pradesh (State University) 2008

16. Koneru Lakshmaiah Education Foundation, Greenfields, Kunchanapalli Post, Vaddeswaram, Guntur District-522002, Andhra Pradesh. (Deemed University) 20.02.2009

17. KREA University, 5655, Central, Expressway, Sri City-517646, Andhra Pradesh (Private  University) 30.04.2018

18. Krishna University, Andhra Jateeya Kalasala, Campus, Rajupeta, Machllipatanam – 521 001, Krishna District, Andhra Pradesh. (State University) 2008

19. Rajiv Gandhi University of Knowledge Technologies Andhra Pradesh, V.R.Mansions, Kunchanapalli, Guntur District, Andhra Pradesh522501(State University) 01.06.2016

20. Rashtriya Sanskrit Vidyapeeth, Tirupati-517 507, Chittoor District, Andhra Pradesh. (Deemed University) 16.11.1987

21. Rayalaseema University, Pasupula Village, Nandyal Road, Kurnool –518 002, Andhra Pradesh. (State University) 2008

22. Saveetha Amaravati University, 3rd Floor, Vaishnavi Complex, Opposite Executive Club, Vijayawada- 520008, Andhra Pradesh(Private University) 30.04.2018

23. Sri Krishnadevaraya University, Anantapur-515 003, Andhra Pradesh. (State University) 1981

24. Sri Padmavati Mahila Vishwavidyalayam, Tirupati-517 502, Andhra Pradesh. (State University) 1983

25. Sri Sathya Sai Institute of Higher Learning, Prasanthinilayam, Anantapur-515 134, Andhra Pradesh. (Deemed University) 10.11.1981

26. Sri Venkateswara University, Tirupati-517 502, Andhra Pradesh. (State University) 1954

27. Sri Venkateswara Vedic University, Alipiri-Chandragiri Bypass Road, Tirupati-517502, Andhra Pradesh. (State University) 2006 

28. Sri Venkateswara Veterinary University, Dr. YSR Bhavan, Tirupati – 517 502, Andhra Pradesh. (State University) 2005

29. Sri Venkateswara Institute of Medical Sciences, Alipuri Road, Tirupati – 517 507, Andhra Pradesh. (State University) 1993

30. SRM University, Neerukonda-Kuragallu Village, Mangalagiri Mandal, Guntur District-522502, Andhra Pradesh. (Private University) 23.05.2017

31. Vignan's Foundation for Science, Technology and Research, Vadlamudi, Guntur District – 522213,, Andhra Pradesh. (Deemed University) 19.12.2008

32. Vikrama Simhapuri University, Kakutur, Venkatachalam (M.D), Nellore, Andhra Pradesh- 524320. (State University) 2008

33. VIT-AP University, Amravati – 522237, Andhra Pradesh. (Private University) 23.05.2017

34. Yogi Vemana University, Vemanapuram, Kadapa – 516 003, Andhra Pradesh. (State University)


List of universities in India by state

The total No. of Universities in the Country are 935 as on 01.02.2020https://www.ugc.ac.in/oldpdf/Consolidated%20list%20of%20All%20Universities.pdf
 List of Universities in ANDHRA PRADESH List of Universities in Assam
 List of Universities in Arunachal Pradesh List of Universities in BIHAR
 List of Universities in CHHATTISGARH List of Universities in GOA
 List of Universities in GUJARAT List of Universities in HARAYANA
 List of Universities in HIMACHAL PRADESH List of Universities in JAMMU & KASHMIR
 List of Universities in JHARKHAND List of Universities in KARNATAKA
 List of Universities in KERALA List of Universities in MADHYA PRADESH
 List of Universities in MAHARASHTRA List of Universities in MANIPUR
 List of Universities in MEGHALAYA List of Universities in MIZORAM
 List of Universities in NAGALAND     List of Universities in ODISHA
 List of Universities in PUNJAB     List of Universities in RAJASTHAN
 List of Universities in SIKKIM List of Universities in TAMILNADU
 List of Universities in TELANGANA List of Universities in TRIPURA
 List of Universities in UTTAR PRADESH List of Universities in UTTARAKHAND
 List of Universities in WEST BENGAL List of Universities in NCT OF DELHI
 List of Universities in CHANDIGARH List of Universities in PUDUCHERRY


List of fake universities

State-wise list of fake Universities as on 05-11-2019 

Delhi

1. Commercial University Ltd. Daryaganj, Delhi

2. United Nations University, Delhi

3. Vocational University, Delhi

4. ADR-Centric Juridical University, ADR House, 8J, Gopala Tower, 25, Rajendra Place, New Delhi –

110 008

5. Indian Institution of Science and Engineering, New Delhi

6. Viswakarma Open University for Self-employment, India, Rozgar Sewasadan, 672, Sanjay Enclave, Opp.

GTK Depot, New Delhi – 110 033

7. Adhyatmik Vishwavidyalaya (Spiritual University), 351-352, Phase-1, Block-A, Vijay Vihar, Rithala, Rohini,

Delhi – 110 085


Karnataka

8. Badaganvi Sarkar World Open University Education Society, Gokak, Belgaum (Karnataka)


Kerala

9. St. John’s University, Kishanattam, Kerala


Maharashtra

10. Raja Arabic University, Nagpur

West Bengal

11. Indian Institute of Alternative Medicine, 80, Chowringhee Road, Kolkata – 20

12. Institute of Alternative Medicine and Research, 8-A, Diamond Harbor Road Builtech inn, 2nd Floor,

Thakurpukur, Kolkata – 700 063


Uttar Pradesh

13. Varanaseya Sanskrit Vishwavidyala, Varanasi, UP/Jagatpuri, Delhi

14. Mahila Gram Vidyapith/Vishwavidyalaya, (Women’s University) Prayag, Allahabad (UP)

15. Gandhi Hindi Vidyapith, Prayag, Allahabad (UP)

16. National University of Electro Complex Homeopathy, Kanpur

17. Netaji Subhash Chandra Bose University (Open University), Achaltal, Aligarh (UP)

18. Uttar Pradesh Vishwavidyalaya, Kosi Kalan, Mathura (UP)

19. Maharana Partap Shiksha Niketan Vishwavidyalaya, Pratapgarh (UP)

20. Indraprastha Shiksha Parishad, Institutional Area, Khoda, Makanpur, Noida Phase-2, (UP)


Odisha

21. Nababharat Shiksha Parishad, Anupoorna Bhawan, Plot No. 242, Pani Tanki Road, Shakti Nagar, Rourkela –

769 014

22. North Orissa University of Agriculture & Technology, University Road Baripada, Distt. Mayurbhanj, Odisha –

757 003


Puducherry

23. Sree Bodhi academy of Higher Education, No. 186, Thilaspet, Vazhuthavoor Road, Puducheey –

605 009


Andhra Pradesh

24. Christ New Testament Deemed University, # 32-23-2003, 7th Lane, Kakumanuvarithota, Guntur, Andhra

Pradesh – 522 002 or # fit No. 301, Grace Villa Apts., 7/5, Srinagar, Guntur, Andhra Pradesh – 522 002


Thursday, 14 May 2020

Latest Kashmir Administrative Service Syllabus

Kashmir Administrative Service Syllabus 2020


SCHEME AND SUBJECTS FOR THE PRELIMINARY AND MAIN EXAMINATION.

A. Preliminary Examination 

The Examination shall comprise of two papers of 200 marks each. 


B. Main Examination: 

1. The written examination will consist of the following papers:






2. Candidates may choose any one of the optional subjects from amongst the list of the subjects given below:- 

1) Agriculture: 
2) Animal Husbandry and Veterinary Science: 
3) Anthropology: 
4) Botany: 
5) Chemistry: 
6) Civil Engineering: 
7) Commerce and Accountancy: 
8) Economics: 
9) Electrical Engineering: 
10) Geography: 
11) Geology; 
12) History: 
13) Law; 
14) Management; 
15) Mathematics; 
16) Mechanical Engineering; 
17) Medical science; 
18) Philosophy; 
19) Physics; 
20) Political Science & International Relations; 
21) Psychology; 
22) Public Administration: 
23) Sociology; 
24) Statistics; 
25) Zoology; 
26) Literature of any one of the following languages: 
Arabic, Dogri, English, Hindi, Kashmiri, Persian, Punjabi, Sanskrit and Urdu

NOTE: 
I. The question papers of the examination will be of conventional (essay) type. 
II. Each paper will be of three hours’ duration. 


C. Personality Test (Interview):


Wednesday, 13 May 2020

Universities for PhD in the Jammu and Kashmir. | All details about PhD and universities.


PhD stands for Doctor of Philosophy. It is a course of minimum of three years.


Eligibility

A candidate seeking PhD admission must have done Post graduation with minimum 55 %. However a candidate with a category can get a relaxation of 5 %.
Admission Process:


Selection Process

The selection process is based on the entrance exam followed by an interview.  In interview you have to explore your research area in the front of Research Degree committee.


List of universities for PhD in Jammu and Kahmir

State Universites

Baba Ghulam Shah Badshah University

Address:

Rajouri Camp Office, Bye Pass-

Road,Chinnai Himmat, Jammu

State: Jammu and Kashmir -

 


Jammu University

Address: 

Baba Saheb Ambedkar Road,

Jammu Tawi - 180 004.

State:Jammu and Kashmir -


Kashmir University

Address:

Hazratbal, Srinagar,

PIN - 190 006. (J & K)

State:Jammu and Kashmir -

 

Sher-e-Kashmir University of Agricultural Science & Technology

Shalimar Campus P.B.No 262

Srinagar-190 001. (J&K)

State: Jammu and Kashmir -


Shri Mata Vaishno Devi University

Address:

Sub-post office-182320

Katra,J&K

State: Jammu and Kashmir -


Central Universities

Central University of Jammu

Address:

Rahya-Suchani (Bagla)

District Samba Jammu

State:Jammu and Kashmir - 181143


Central University of Kashmir

Address:

Transit Campus

Sonwar (Near G.B. Pant Hospital) Srinagar

State: Jammu and Kashmir - 190 004



Tuesday, 12 May 2020

University of Kashmir PhD Admission

University of Kashmir PhD admission 2020

Important Dates

 Last Date
 February 15, 2020
  

Various Disciplines

Arabic, English, Botany, Biotechnology, Mathematics, Applied Mathematics, Management Studies, Computer Sciences, Economics, Information Technology , Urdu, Islamic Studies,  Zoology, Civil Engineering, Electronics & Communication Engg.


Eligibility Criteria

Masters with 55 %. A relaxation of 5% of marks, from 55% to 50%, or an equivalent relaxation of grade, may be allowed for those belonging to SC/ST/Differently-abled.


Selection Process

The selection process is based on the entrance exam followed by an interview.


How to apply?

Go to university website and apply online.


Application fees

Rupees 1000

Address:

Address:
Hazratbal, Srinagar,
PIN - 190 006. (J & K)
State:
Jammu and Kashmir 


Jammu University PhD admission

Jammu University PhD admission 2020

Important Dates

 
 
 Last Date
 -

Various Disciplines

Biotechnology, Botany, Buddhist Studies, Chemistry, Commerce, Computer Science & IT, Dogri, Economics, Education, English, Environmental Sciences, Geography, Geology, Hindi, History, Home Science, Hospitality & Tourism, Law, Library Science & IT, Management, Mathematics, Physics, Electronics, Political Science, Psychology, Punjabi, Sanskrit, Strategic & Regional Studies, Statistics, Sociology, Urdu, Zoology, Remote Sensing & GIS, Museology, Management (IB).

Eligibility Criteria

Masters with 55 %. A relaxation of 5% of marks, from 55% to 50%, or an equivalent relaxation of grade, may be allowed for those belonging to SC/ST/Differently-abled.

Selection Process

The selection process is based on the entrance exam followed by an interview.

How to apply?

Go to university website and apply online.

Application fees

Rupees 500

Address:

Baba Saheb Ambedkar Road, Jammu Tawi - 180 004.

State: Jammu and Kashmir -



Baba Ghulam Shah Badshah University PhD admission

Baba Ghulam Shah Badshah University PhD admission 2020

Important Dates

 Last Date
 February 15, 2020
  

Various Disciplines

Arabic, English, Botany, Biotechnology, Mathematics, Applied Mathematics, Management Studies, Computer Sciences, Economics, Information Technology , Urdu, Islamic Studies,  Zoology, Civil Engineering, Electronics & Communication Engg.


Eligibility Criteria

Masters with 55 %. A relaxation of 5% of marks, from 55% to 50%, or an equivalent relaxation of grade, may be allowed for those belonging to SC/ST/Differently-abled.


Selection Process

The selection process is based on the entrance exam followed by an interview.


How to apply?

Go to university website and apply online.


Application fees

Rupees 1000

Address:

Address: Rajouri Camp Office, Bye Pass- Road,Chinnai Himmat, Jammu

State: Jammu and Kashmir -



Tuesday, 5 May 2020

Method Overriding in Java

If subclass has the same method as declared in the super class, it is known as method overriding in Java. It is required in the case, when we want to use the implementation of the child class instead of parent class.

Usage of Java Method Overriding

  • Method overriding is used to provide the specific implementation of a method in the child class which is already provided by its parent class.
  • Runtime polymorphism is used through method overriding.

Rules for Java Method Overriding

  • The method in the subclass must have the same name as in the super class.
  • The method must have the same parameter as in the parent class.
  • There must be an IS-A relationship (inheritance concept must be used).

Example of method overriding

 

//Java Program understand the use of Method Overriding 

// parent class. 

class Vehicle{ 

  //defining a method 

  void run(){System.out.println("Vehicle is running");} 

} 

// child class 

class Bike extends Vehicle{ 

  //defining the same method as in the parent class 

  void run(){System.out.println("Bike is running safely");} 

 

  public static void main(String args[]){ 

  Bike obj = new Bike2();//creating object 

  obj.run();//calling method 

  } 

} 

Output:

Bike is running safely

 


Java Interview Questions with answers

  • What is the difference between static method and instance method?
static method bounds with the class whereas instance method bounds with an object.

Access Modifiers in Java

Access Modifiers in Java

There are two types of modifiers in Java:

  1. Access modifier
  2. Non-Access modifiers.

The access modifiers specify the accessibility or scope of a field, method, constructor, or class.

There are four types of Java access modifiers:

  1. Private: The access level of a private modifier is only within the class. It cannot be accessed from outside the class.
  2. Default: The access level of a default modifier is only within the package. It cannot be accessed from outside the package. If you do not specify any access level, it will be the default.
  3. Protected: The access level of a protected modifier is within the package and outside the package through child class. If you do not make the child class, it cannot be accessed from outside the package.
  4. Public: The access level of a public modifier is everywhere. It can be accessed from within the class, outside the class, within the package and outside the package.

There are many non-access modifiers, such as static, abstract, synchronized, native, volatile, transient, etc. Here, we are going to learn the access modifiers only.

1) Private

The data fields are declared as private access modifier are accessible only within the class.

Simple example of private access modifier:

In this example, we have created two classes A and Simple. A class contains private data member and private method. We are accessing these private members from outside the class, so there is a compile-time error.

class A{ 

private int data=40; 

private void msg(){

System.out.println("Hello java");} 

}    

public class Simple{ 

 public static void main(String args[]){ 

   A obj=new A(); 

   System.out.println(obj.data); //Compile Time Error 

   obj.msg(); //Compile Time Error 

   } 

} 

 Note: A class cannot be private or protected except nested class.

2) Default

If you don't use any modifier, it is treated as default by default. The default modifier is accessible only within package. It cannot be accessed from outside the package.

 Example of default access modifier

In this example, we have created two packages pack and mypack. We are accessing the A class from outside its package, since A class is not public, so it cannot be accessed from outside the package.

package pack; 

class A{ 

  void msg(){

System.out.println("Hello");} 

} 

//save by B.java 

package mypack; 

import pack.*; 

class B{ 

  public static void main(String args[]){ 

   A obj = new A();//Compile Time Error 

   obj.msg();//Compile Time Error 

  } 

} 

In the above example, the scope of class A and its method msg() is default so it cannot be accessed from outside the package.

3) Protected

The protected access modifier is accessible within package and outside the package but through inheritance only.

Example of protected access modifier

In this example, we have created the two packages pack and mypack. The A class of pack package is public, so can be accessed from outside the package. But msg method of this package is declared as protected, so it can be accessed from outside the class only through inheritance.

 package pack; 

public class A{ 

protected void msg(){

System.out.println("Hello");} 

} 


package mypack; 

import pack.*; 

 class B extends A{ 

  public static void main(String args[]){ 

   B obj = new B(); 

   obj.msg(); 

  } 

} 

Output:Hello

4) Public

The public access modifier is accessible everywhere. It has the widest scope among all other modifiers.

 Example of public access modifier

 package pack; 

public class A{ 

public void msg(){System.out.println("Hello");} 

} 


 

package mypack; 

import pack.*; 

 

class B{ 

  public static void main(String args[]){ 

   A obj = new A(); 

   obj.msg(); 

  } 

} 

Output:Hello


All about journals and research paper | What is impact factor? | how the impact factor is calculated? | who calculate the impact factor? Scopous journals

Figure 1: One of my Research Papers When the Scholars are in their Master or PhD or in any research field. They are supposed to writ...