Keyword in Java

The package keyword in Java programming

The package keyword in Java programming

In this tutorial, we will discuss The package keyword in Java programming language

In the Java programming language package  is a keyword use to defined package which use declared a namespace for the Java class. a Java package may be contains a group of similar type of classes(including class elements), interfaces etc..

Declaration

Syntax of package

package package_name;

 

Example

package My_Package

 

There are other Java language keywords that are similar to this keyword

class keyword in Java language

import keyword in Java language

Java packages

 

You might also like

Keywords in Java language

Keywords in C++ language

Keywords in C language

Keywords in Python language

 

The instanceof keyword in Java programming language
Karmehavannan

I am Mr S.Karmehavannan. Founder and CEO of this website. This website specially designed for the programming learners and very especially programming beginners, this website will gradually lead the learners to develop their programming skill.

Recent Posts

C# inverted full pyramid star pattern

C# inverted full pyramid star pattern In this article, we will discuss the concept of…

3 weeks ago

C# Full Pyramid star pattern program

C# Full Pyramid star pattern program In this article, we will discuss the concept of…

1 month ago

Program to count vowels,consonants,words, characters and space in Java

Program to count vowels, consonants, words, characters and space in Java In this article, we…

1 month ago

How to print multiplication table using Array in C++ language

How to print multiplication table using Array in C++ language In this post, we will…

1 month ago

C Program to multiplication table using Array

C Program to multiplication table using Array In this tutorial , we will discuss about…

2 months ago

Java program to check odd or even using recursion

Java program to check odd or even using recursion In this tutorial, we discuss a…

2 months ago