FazBrowse GitHub Viewer
|
Trending
|
URL:
|
Home
Tools:
[Download Repo ZIP]
[View Raw Code]
[Original HTTPS Page]
Java-New-features/Java8/src/com/eazybytes/java8/Vehicle.java at main · eazybytes/Java-New-features · GitHub
eazybytes
/
Java-New-features
Public
Notifications
You must be signed in to change notification settings
Fork
75
Star
28
Code
Issues
0
Pull requests
0
Actions
Projects
Security and quality
0
Insights
Additional navigation options
Code
Issues
Pull requests
Actions
Projects
Security and quality
Insights
Expand file tree
Breadcrumbs
Java-New-features
/
Java8
/
src
/
com
/
eazybytes
/
java8
/
Vehicle.java
Copy path
More file actions
More file actions
Latest commit
History
History
History
23 lines (18 loc) · 361 Bytes
Breadcrumbs
Java-New-features
/
Java8
/
src
/
com
/
eazybytes
/
java8
/
Vehicle.java
Copy path
File metadata and controls
23 lines (18 loc) · 361 Bytes
Raw
Copy raw file
Download raw file
Open symbols panel
Edit and raw actions
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
/**
*
*/
package
com
.
eazybytes
.
java8
;
/**
* @author EazyBytes
*
*/
public
interface
Vehicle
{
public
int
getSpeed
();
public
void
applyBreak
();
public
default
void
autoPilot
() {
System
.
out
.
println
(
"I will help in driving with out manual support"
);
}
public
static
void
sayHello
() {
System
.
out
.
println
(
"Hi, This is your favourite car"
);
}
}
Back
|
FazBrowse Home
|
New Git URL