Datasets:
ArXiv:
License:
Stack-Repo / data /train /akash-coded /FSD_Java /Lesson-3 /Serializarion and Deserialization /Examples /Student.java
Download data/train/akash-coded/FSD_Java/Lesson-3/Serializarion and Deserialization/Examples/Student.java from RepoFusion/Stack-Repo: direct link, hf CLI and curl.
- Browser
- Download file 373 Bytes
-
https://huggingface.co/datasets/RepoFusion/Stack-Repo/resolve/bbc90aef76314892f2d54f85da32b81503fb7eb3/data/train/akash-coded/FSD_Java/Lesson-3/Serializarion%20and%20Deserialization/Examples/Student.java
- Command line
-
hf download 'hf://datasets/RepoFusion/Stack-Repo@bbc90aef76314892f2d54f85da32b81503fb7eb3/data/train/akash-coded/FSD_Java/Lesson-3/Serializarion and Deserialization/Examples/Student.java'
-
curl -L -o Student.java https://huggingface.co/datasets/RepoFusion/Stack-Repo/resolve/bbc90aef76314892f2d54f85da32b81503fb7eb3/data/train/akash-coded/FSD_Java/Lesson-3/Serializarion%20and%20Deserialization/Examples/Student.java
373 Bytes
| import java.io.Serializable; | |
| public class Student implements Serializable { | |
| // The default serialVersionUID. Else a generated one would have been inserted. | |
| private static final long serialVersionUID = 1L; | |
| int rollNumber; | |
| String name; | |
| public Student(int rollNumber, String name) { | |
| this.rollNumber = rollNumber; | |
| this.name = name; | |
| } | |
| } |