Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
9 changes: 0 additions & 9 deletions 46 Access Modifiers/Student.java

This file was deleted.

11 changes: 11 additions & 0 deletions 46 Access Modifiers/Student_modified.java
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
/*Program to store details of a student using the access specifiers in which
rollno is public , name will be private and marks are protected*/
package com.telusko.test;

public class Student
{
int age=27;
public int rollno=8;
private String name="Navin";
protected int marks = 56;
}